import 'package:flutter/material.dart';
import 'package:mall/gen/r.dart';
import 'package:mall/utils/image_component/image_component.dart';

class PlaceholderInOrderWidget extends StatelessWidget {
  const PlaceholderInOrderWidget({
    super.key,
  });

  @override
  Widget build(BuildContext context) {
    return Container(
          padding: EdgeInsets.only(left: 30, right: 30),
          child: Center(
            child: Column(
    mainAxisSize: MainAxisSize.min,
    children: [
      //图片
      ImageComponent(R.image.placeholderOrder.path, width: 166, height: 128),
      SizedBox(height: 50),
      Text('您还没有相关的订单', style: TextStyle(color: Color(0xff27314A), fontSize: 16)),
      SizedBox(height: 10),
      Text(
        '可以去看看有哪些想买的',
        style: TextStyle(color: Color(0xff7C8298), fontSize: 12),
        maxLines: 2,
        overflow: TextOverflow.ellipsis,
      ),
    ],
            ),
          ),
        );
  }
}
